<?php

/**
 * 私有成员 不可以被覆盖
 */
class Animal
{
    private $move  = null;

    public function getMove()
    {
        $this->see();
        return $this->move;
    }

    private function see()
    {
        echo 'feel' . "\n";
    }
}

class Monkey extends Animal
{
    //私有成员覆盖  无效定义
    private $move  = 'control';

    private function see()
    {
        echo 'eyes see' . "\n";
    }
}

$ob = new Monkey();

var_dump($ob->getMove());

